<?php

/**
 * Created by PhpStorm.
 * User: steven
 * Date: 2016/4/20
 * Time: 22:59
 */
class PhpCrawler
{
    protected $CI;

    // We'll use a constructor, as you can't directly call a function
    // from a property definition.
    public function __construct()
    {
        // Assign the CodeIgniter super-object
        $this->CI =& get_instance();
    }
    public static function geturlcontent($url){
            $content = file_get_contents($url);
            return $content;
    }

}